﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Warehouse.Domain.DTO
{
    /// <summary>
    /// 调拨显示dto
    /// </summary>
    public class AllProductListDTO
    {
        /// <summary>
        /// 调拨id
        /// </summary>
        public int AllocateId { get; set; }
        /// <summary>
        /// 关联订单号
        /// </summary>
        public string? MorderNumber { get; set; }
        /// <summary>
        /// 调拨单号
        /// </summary>
        public string? AllocateCode { get; set; }
        /// <summary>
        /// 产品id
        /// </summary>
        public int ProductsID { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? ProductsCode { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductsName { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? Specs { get; set; }
        /// <summary>
        /// 产品数量
        /// </summary>
        public int? ProcurementNum { get; set; }
        /// <summary>
        /// 调拨数量
        /// </summary>
        public int? AllProductNum { get; set; }
        /// <summary>
        /// 调拨单价
        /// </summary>
        public decimal? Price { get; set; }

        /// <summary>
        ///原仓库
        /// </summary>
        public int? WarehouseId { get; set; }
        /// <summary>
        /// 原库位
        /// </summary>
        public int? StorehouseId { get; set; }
        /// <summary>
        /// 原仓库名称
        /// </summary>
        public string? WarehouseName { get; set; }
        /// <summary>
        /// 原库位名称
        /// </summary>
        public string? StorehouseName { get; set; }
        /// <summary>
        /// 调拨仓库
        /// </summary>
        public int? AllocateStore { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? AllocateState { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public string? UpdName { get; set; }

        /// <summary>
        ////审核时间
        /// </summary>
        public DateTime? UpdTime { get; set; } 
        /// <summary>
        /// 制单人
        /// </summary>
        public string? MakePerson { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime? MarkTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? ARremark { get; set; }
        /// <summary>
        ///审核原因
        /// </summary>
        public string? ReasonReview { get; set; }

    }                                                      
}
